import { Injectable } from '@angular/core';
import { BaseService } from '../base/base.service';
import { Observable } from 'rxjs';

@Injectable({
  providedIn: 'root'
})
export class PcontentService extends BaseService {
  // 根据id获取商品详情
  public goodsDetail$(id: string): Observable<any> {
    return this.get(`front/goods/${id}`);
  }
}
